package com.usefullc.extinguisher.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidTypeEnum;
import com.usefullc.common.enums.ValidActionEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 检查标准参数实体
 * @author: 星空
 * @date: 2022-11-19
 */
@ApiModel
@Data
public class CheckStandardParam extends BaseDomain {

//useful_auto_generate_section_start

    @UsefulPropertyVerify
    @ApiModelProperty(notes = "ID")
    private Long id;

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "父节点")
    private Long parentId;

    @UsefulPropertyVerify(minLen=2, maxLen=100)
    @ApiModelProperty(notes = "编码")
    private String code;

    @UsefulPropertyVerify(minLen=2, required=true, maxLen=100)
    @ApiModelProperty(notes = "名称")
    private String name;

    @UsefulPropertyVerify(min=1, max=1000,required = true)
    @ApiModelProperty(notes = "排序")
    private Integer orderNo;

    @UsefulPropertyVerify(minLen=2, maxLen=1000)
    @ApiModelProperty(notes = "描述")
    private String description;


//useful_auto_generate_section_end

}
